#"name","starttag","endtag","col2mark","tabmark","parmark",allowtext,cannest,DelteCol1,fold .PTag...
"Normal","","\n","\t","\t","<p>\n",1,0,0,1 "pre","<pre>","</pre>","\t","\t","\n",0,0,0,0The fold field should be set to zero (0) for all entries except "pre" or "listing". A zero entry allows rtftohtml to insert newlines "\n" into the source so that lines do not get too long in your HTML file. This feature is designed to make editing/viewing of HTML source files easier with editors like vi. You must use one (1) for "pre" and "listing" because newlines are significant characters for these markups.
You must add the following entry to your .PTag table. This is required to support table translation.
# This is a required entry; tables will be formatted with this entry "_Table","<pre>","</pre>","\t","\t","\n",0,0,0,0
You must add the following entry to your .PMatch table:
# This is a required entry; tables will be formatted with this entry "_Table",0,"_Table"
The filter will produce a table that has the same number of columns as the input. The size of the columns will be proportional to the sizes of the input columns. Note that there is no guarantee that text that fit in your original table will still fit in the formatted version. This is because the point size of input may not be proportional to the fixed size 80-characters per-column output. If you find that you do not like the look of the formatted table - you must re-size the columns in your RTF source.
Columns are always separated by two blanks.
Columns can be left justified, right justified or centered.
Merged cells are allowed.
There is no support for decimal aligned data. This just looked too hard and prone to error. For now, you will have to make sure that all your data has the same number of trailing digits and stick to right justified text.
Options are set with menu selections!
The signiture is even registered with Apple!
Drag any RTF file onto rtftohtml (requires system 7.) The output files will be placed in the same folder as your input file. If there are any errors in translating your file, the error messages will be put into a file called filename.err . Some errors will cause rtftohtml to exit, others will not.
Once rtftohtml is started, it will continue to run! This allows you to translate many documents at a time. You can drag lots of files onto rtftohtml and it will translate all of them (unless it encounters a fatal translation error.)
To use non-default translation options, simply start rtftohtml by double clicking on it. Then choose your option from the options menu. These settings will remain in effect until rtftohtml exits. The next time you run rtftohtml you must choose your option settings again.
You can open RTF files using Open... from the File menu. This will only work for files with an extension of .rtf (or .RTF). If you want to open a file without an extension of .rtf, you must hold down the option key when selecting Open.
The Inline graphics option will (when set) use <IMG SRC=... markup in HTML files for graphics instead of <A HREF=...
The Auto Filenames option when set will put the HTML output in the same folder as the input, with a .HTML extension. If you want to specify your own filenames, turn this option off. Then rtftohtml will prompt you for an output file name each time a file is translated.
"toc 1",0,"_Discard" "toc 2",0,"_Discard" "toc 3",0,"_Discard" "toc 4",0,"_Discard" "toc 5",0,"_Discard" "index 1",0,"_Discard" "index 2",0,"_Discard" "index 3",0,"_Discard" "index 4",0,"_Discard" "index 5",0,"_Discard"